package com.by.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("规格属性")
@TableName
public class Attr {

    @TableId(value = "attr_id",type = IdType.AUTO)
    Integer attr_id;

    Integer shop_id;

    String name;

    @TableField("`desc`")
    String desc;

    Integer search_type;

    Integer attr_type;

    @TableField(exist = false)
    List<AttrValue> attValueList;
}
